home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 April
/
EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso
/
EARCD
/
gfx
/
show
/
jcosub26.lha
/
JACOsub
/
rexx
/
playstart.jsrx
< prev
next >
Wrap
Text File
|
1996-01-08
|
878b
|
34 lines
/* JACOsub PLAYSTART command demonstration. */
parse arg endwait
if ~arg() then endwait=0
options results
address 'JACOsub'
'PLAYSTART' endwait
if result then
say 'script play could not be started.'
else
if endwait then
say 'script play complete.'
else
say 'script play in progress!'
exit result
/*
This is how one causes JACOsub to start playing a script.
The command PLAYSETUP *must* be given prior to issuing a PLAYSTART
command.
If JACOsub's play screen is hidden, you do NOT need to send a
SCREENTOFRONT command before PLAYSTART. PLAYSTART automatically brings
the play screen to the front.
PLAYSTART returns RESULT=0 if playing commenced, or RESULT=1 if a
problem occurred (such as: PLAYSETUP wasn't performed first, or
PLAYSETUP didn't complete, or the optional endwait argument was
nonzero and the play-mode was stepped).
*/